package com.itheima.health.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.health.dao.OrderSettingDao;
import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.service.OrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderSettingServiceImpl extends ServiceImpl<OrderSettingDao,OrderSetting> implements OrderSettingService {
    @Autowired
    private OrderSettingDao orderSettingDao;
    @Override
    public void add(OrderSetting orderSetting) {
        orderSettingDao.insert(orderSetting);
    }

    @Override
    public void updatenumber(OrderSetting orderSetting) {
        orderSettingDao.updatenumber(orderSetting);
    }
}